//
//  ATDetailThirdSectionHeaderView.m
//  Adorable_Things
//
//  Created by huzhiyan on 16/1/13.
//  Copyright © 2016年 Banana Inc. All rights reserved.
//

#import "ATDetailThirdSectionHeaderView.h"

@implementation ATDetailThirdSectionHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        UILabel *comment = [[UILabel alloc] initWithFrame:CGRectMake(20, 20, 60, 20)];
        comment.text = @"评论";
        comment.textColor = [UIColor grayColor];
        [self addSubview:comment];
        
        _CommentButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _CommentButton.frame = CGRectMake(kWidth - 50, comment.top, 30, 20);
        [self addSubview:_CommentButton];
        _CommentButton.hidden = YES;
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
